import request from '@/utils/request'

export function fetchList(query) {
  return request({
    url: '/basic/sys/dict/list',
    method: 'get',
    params: query
  })
}


export function createMoudle(data) {
  return request({
    url: '/basic/sys/dict/add',
    method: 'post',
    data
  })
}

export function updateMoudle(data) {
  return request({
    url: '/basic/sys/dict/edit',
    method: 'post',
    data
  })
}

export function delMoudle(data) {
    return request({
        url: '/basic/sys/dict/edit',
        method: 'post',
        data
    })
}
